package com.roc.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "t_login_ip_jnls")
public class LoginIpJnls implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "loginIpJnlsSeq")
    @SequenceGenerator(name = "loginIpJnlsSeq", sequenceName = "t_login_ip_jnls_seq")
    private Long id;

    @Column(name = "ADDRESS")// ip地址
    private String address;

    @Column(name = "AGENT_ID")//登录人员Id
    private long agentId;
    
    @Column(name = "LOGINTIME")//登录时间
    private String loginTime;
    
    @Column(name = "PARAM_NAME2")//备用参数
    private String paramName2;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }


    public long getAgentId() {
        return agentId;
    }

    public void setAgentId(long agentId) {
        this.agentId = agentId;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public String getParamName2() {
        return paramName2;
    }

    public void setParamName2(String paramName2) {
        this.paramName2 = paramName2;
    }
    
  
}
